//package com.dfs.parent.order.config;
//
//
//import com.dfs.parent.common.core.constant.TokenConstant;
//import org.springframework.web.servlet.HandlerInterceptor;
//
//
//import javax.servlet.http.HttpServletRequest;
//import javax.servlet.http.HttpServletResponse;
//
///**
// * 自定义请求头拦截器，将Header数据封装到线程变量中方便获取
// * 注意：此拦截器会同时验证当前用户有效期自动刷新有效期
// *HandlerInterceptorAdapter
// * @author ruoyi
// */
//public class HeaderInterceptor implements HandlerInterceptor {
//    @Override
//    public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception
//    {
//
//
//        String token = request.getHeader(TokenConstant.DFS_TOKEN);
//        return true;
//    }
//
//    @Override
//    public void afterCompletion(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex)
//            throws Exception
//    {
//    }
//}
